
using System;
using System.Collections;
using QdbUnit;
using QdbUnit.Extensions;
using QdbUnit.Extensions.Concurrency;

namespace QdbUnit.Extensions
{
	public abstract class QdbConcurrencyTestSuite : AbstractQdbTestCase, ITestSuiteBuilder
	{
		public virtual IEnumerator GetEnumerator()
		{
			return new QdbConcurrencyTestSuiteBuilder(Fixture(), TestCases()).GetEnumerator(
				);
		}

		protected abstract override Type[] TestCases();
	}
}
